﻿using AiQiuQuan.Sport.Model.Enums;
using System.ComponentModel.DataAnnotations;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 比赛状态修改
    /// </summary>
    public class GameStateUpdateDto
    {
        /// <summary>
        /// 比赛ID
        /// </summary>
        [Required]
        public Guid ID { get; set; }

        /// <summary>
        /// 活动状态：1报名中、3进行中、4已结束、9已取消
        /// </summary>
        [Required]
        [EnumDataType(typeof(GameStateEnum))]
        public GameStateEnum State { get; set; }
    }
}
